home *** CD-ROM | disk | FTP | other *** search
/ OpenGL Superbible (2nd Edition) / OpenGL SuperBible e2.iso / tools / GLUT-3.7 / PROGS / CONTRIB / Makefile.sgi < prev    next >
Encoding:
Makefile  |  1998-08-12  |  890 b   |  40 lines

  1. #!smake
  2. #
  3. # Copyright (c) Mark J. Kilgard, 1995, 1997.
  4. #
  5.  
  6. TOP = ../..
  7. include $(TOP)/glutdefs
  8. include $(ROOT)/usr/include/make/commondefs
  9.  
  10. LD_QUICKSTART_INFO=
  11. LN = ln -s
  12. MV = mv
  13. RM = -rm -rf
  14.  
  15. TARGETS = lineblend worms rings agv_example fractals hanoi hanoi2 \
  16.    gears noof moth text3d steam
  17.  
  18. LLDLIBS = $(GLUT) -lGLU -lGL -lXmu -lXext -lX11 -lm
  19.  
  20. SRCS = lineblend.c worms.c rings.c fractals.c fracviewer.c agviewer.c \
  21.        agv_example.c hanoi.c hanoi2.c engine.c moth.c text3d.c steam.c
  22. OBJS = $(SRCS:.c=.o)
  23.  
  24. LCOPTS = -I$(TOP)/include -fullwarn
  25. LWOFF = ,813,852,827,826,1506
  26. LDIRT = *~ *.bak *.pure
  27.  
  28. default : $(TARGETS)
  29.  
  30. agv_example: agv_example.o agviewer.o
  31.     $(CCF) -o $@ agv_example.o agviewer.o $(LDFLAGS)
  32.  
  33. hanoi2: hanoi2.o engine.o
  34.     $(CCF) -o $@ hanoi2.o engine.o $(LDFLAGS)
  35.  
  36. fractals: fractals.o fracviewer.o
  37.     $(CCF) -o $@ fractals.o fracviewer.o $(LDFLAGS)
  38.  
  39. include $(COMMONRULES)
  40.